<!DOCTYPE html>
<html>
<head> 
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
  <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> 
  <meta name="format-detection" content="telephone=no" />
	<link rel="stylesheet" href="common/css/h5_02.css">
	<link rel="stylesheet" href="common/css/main.css">
  <!--<link href="css/h5_02.css" rel="stylesheet" type="text/css">-->
  <script src="common/js/jquery-1.9.1.min.js"></script>
	<script src="common/js/addRentCart.js"></script>
  <script src="common/js/h5.js"></script>

	<title>租用商品信息</title>
	<script src="common/js/laydate/laydate.js"></script>
	<script src="common/js/AjaxJson.js"></script>


</head> 
<body class="b_gray">
    <div id="header">
		<div class="head-l"><a href="javascript:window.history.back(-1)" target="_self"><img src="common/images/icon/head-return.svg" alt=""></a></div>租用商品
    </div>
    <div style="padding-top: 40px; height:165px; background:none;">
   		<div class="hairstyle_main"> 
    		<div class="hairstyle_main_b"> 
     			<div class="hairstyle_main_l">
      				<!--<img src="images/wheelchair1.jpg" alt="" />-->
     			</div> 
     			<div class="hairstyle_main_r"> 
      				<div class="jishi_content2"> 
      					 <!--<p class="t_primary14" style="margin-top:4px;">免充气加厚轮椅<span class="course_5" style="position: absolute; bottom:15px; left:138px;">￥80/天  &nbsp;押金:500元<span style="font-size: 13px;"></span></span></p>
      					 <p style="margin-top: 10px;"><span style="margin-right: 20px;">颜色：银色</span></p> 
      					 <p><span>数量： 1 个</span></p> 
       					<p style="width: 90%; overflow: hidden;text-overflow:ellipsis;white-space:nowrap;">品牌：和互帮 </p> -->
      				</div> 
     			</div> 
   			 </div> 
   		</div>
    </div>
    <div  style="background: none;">
        <div class="input_group"> 
            <dl> 
     			<dt>起租日期：</dt>
     			<dd onselect="return validateDate()">
					<input type="" placeholder="请选择日期" id="date" style="cursor:hand" readonly />
					<!--<input type="text" class="Wdate" onfocus="WdatePicker({skin:'whyGreen',minDate:'%y-%M-%d'})"/>-->
     			</dd> 
    		</dl> 
            <dl> 
     			<dt>租用天数：</dt> 
     			<dd>
     				<input type="number" id="rentDays" placeholder="请输入租用天数" onkeyup="value=value.replace(/[^0-9]/g,'')" />
     			</dd> 
    		</dl> 
    		<dl> 
     			<dt>应付押金：</dt>
     			<dd class="rent"> <font color="red" style="font-weight: bold;"></font>
     				
     			</dd> 
    		</dl> 
   		</div> 
   		<div class="input_group"> 
    		<dl> 
     			<dt>联系人：  </dt> 
      			<dd><input type="text" placeholder="请输入联系人姓名" id="custName" /></dd>
   			</dl> 
    		<dl> 
      			<dt>联系电话： </dt> 
     			<dd> <input type="text" placeholder="请输入联系人电话" id="custPhone" /></dd>
    		</dl> 
    		<dl> 
     			<dt>送货地址：</dt>
     			<dd><input type="text" placeholder="请输入送货地址"  id="address" /> </dd>
    		</dl> 
   		</div> 
    	<div class="input_group" style="margin-bottom: 0;"> 
	        <dl>
	        	<dt>备注信息： </dt>  
	            <dd><textarea style="padding: 0;" placeholder="请输入特殊要求" id="desc"></textarea></dd> <br />
	    	</dl> 
	    </div>
	    
        <div class="input_button"> 
        	<button class="btn2" onclick="addRentCart()">加入租物车</button>
   		</div> 
  	 </div>  
 </body>

<script>


    //执行一个laydate实例
    laydate.render({
        elem: '#date' //指定元素
        ,min:minDate()
    });

    function minDate(){
        var now = new Date();
        return now.getFullYear()+"-" + (now.getMonth()+1) + "-" + now.getDate();
    }
</script>

</html>